import request from '@/utils/request'

// 查询点赞日志表列表
export function listCompassLikeLog(query) {
    return request({
        url: '/system/CompassLikeLog/list',
        method: 'get',
        params: query
    })
}

// 查询点赞日志表详细
export function getCompassLikeLog(id) {
    return request({
        url: '/system/CompassLikeLog/' + id,
        method: 'get'
    })
}

// 新增点赞日志表
export function addCompassLikeLog(data) {
    return request({
        url: '/system/CompassLikeLog',
        method: 'post',
        data: data
    })
}

// 修改点赞日志表
export function updateCompassLikeLog(data) {
    return request({
        url: '/system/CompassLikeLog',
        method: 'put',
        data: data
    })
}

// 删除点赞日志表
export function delCompassLikeLog(id) {
    return request({
        url: '/system/CompassLikeLog/' + id,
        method: 'delete'
    })
}

// 导出点赞日志表
export function exportCompassLikeLog(query) {
    return request({
        url: '/system/CompassLikeLog/export',
        method: 'get',
        params: query
    })
}